package com.taoyuan.hotel.dao;

import com.taoyuan.hotel.entity.Employee;

import java.util.List;

public interface EmployeeDao {
    int add(Employee employee);

    List<Employee> all();

    int del(int id);
    //修改
    int update(Employee employee);
    //查询，带条件 动态sql
    List<Employee> selectWhere(String name);
    //批量删除
    int delBatch(int[] ids);
}
